import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import locale from 'element-plus/es/locale/lang/zh-cn'

// import '@/styles/index.scss';
import '@/styles/reset.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)
  for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
} 
// 使用element-plus 并且设置全局的大小
app.use(ElementPlus, {
  locale: locale
})
 app.mount('#app')
